<%--
  Created by IntelliJ IDEA.
  User: Jimmy
  Date: 2022/4/28
  Time: 20:13
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>用户登录</title>
  <style type="text/css">
    body{
      background-image: url(../img/2.jpg);
    }
  </style>
</head>
<%String path =request.getContextPath();%>
<script src="<%=path%>/js/jimmyhuang.js" type="text/javascript" charset="utf-8"></script>
<script src="<%=path%>/js/reg.js" type="text/javascript" charset="utf-8"></script>
<body>


<form action="/regServlet" method="post" id="regForm">

  <fieldset id="">
    <legend><img src="../img/user.gif" ><font size="5" color="black">用户注册</font></legend>

    <table border="0" cellpadding="10">
      <tr>
        <td><b>手机号/账号名*</b></td>
        <td colspan="2"><b><input size="40" type="text" name="phone" id="phone" value="${userInfo.phone}" /></b></td>
        <td>格式：138XXXXXXXX</td>
      </tr>
      <tr>
        <td><b>登陆密码*</b></td>
        <td colspan="2"><b><input size="40" type="password" name="password" id="password" value="" /></b></td>
        <td>密码至少8位，由大写+小写字母+数字组成</td>
      </tr>
      <tr>
        <td><b>短信验证码*</b></td>
        <td><input type="text" id="vc" size="6" maxlength="6" name="vc"/>&nbsp;
          <input type="text" size="6" id="code" value="" readonly="readonly"/>
          <a style="color: red;" onclick="code()">换一个</a>
        </td>
      </tr>
      <tr>
        <td><b>性别*</b></td>
        <td><input type="radio" name="sex" id="man" value="男" checked="checked"/>男&nbsp;&nbsp;&nbsp;
          <input type="radio" name="sex" id="woman" value="女" />女
        </td>
      </tr>
      <tr>
        <td><b>爱好*</b></td>
        <td>
          <input type="checkbox" name="hobby" id="hobby1" value="读书" checked="checked" />读书
          <input type="checkbox" name="hobby" id="hobby2" value="练字" />练字
          <input type="checkbox" name="hobby" id="hobby3" value="写日记" />写日记
        </td>
      </tr>
      <tr>
        <td><b>年龄*</b></td>
        <td><input type="number" size="10" name="age" id="age" value="" maxlength="3"/></td>
      </tr>
      <tr>
        <td><b>头像*</b></td>
        <td><input type="file" name="header" id="header" value="" /></td>
      </tr>
      <tr>
        <td><b>学历信息</b></td>
        <td><select name="education" id="education">
          <option value="初中">初中</option>
          <option value="高中">高中</option>
          <option value="大学">大学</option>
        </select></td>
      </tr>
      <tr>
        <td><b>自我介绍*</b></td>
        <td>
						<textarea name="mySelf" cols="100" id="mySelf" rows="10" >

						</textarea>

        </td>
      </tr>
      <tr>
        <td></td>
        <td><input type="button" name="editbtn" id="editbtn" value="完成编辑"/>
          <input type="reset" name="resetbtn" id="resetbtn" value="重置" /></td>
        <td><input type="button" name="returnbtn" id="returnbtn" value="取消编辑" onclick="back()"/></td>
      </tr>
    </table>
  </fieldset>
</form>
</body>
</html>

